<?php
/**
 * @Author:      zhaoyang
 * @DateTime:    2018-1-30 
 * @Description: PMS 订货单商品
 */
class PMSPlanProducts extends Eloquent
{
    protected $table = "pms_plan_products";

    public static $status = [1=>'未订货', 2=>'拼货中', 3=>'已定货'];
    
    
    //供应商
    public function supplier_by(){
        return $this->belongsTo('MaintenanceSupplier','supplier_id','id');
    }

}